package com.yunji.cabinet.service;

import com.yunji.cabinet.bo.CabinetCellListQueryBO;
import com.yunji.cabinet.bo.TemplateCellResetBO;
import com.yunji.cabinet.domain.CabinetTemplateCellDO;

import java.util.List;


/**
 * @version 1.0
 * @Project: yunji-coffee
 * @Package com.yunji.cabinet.service
 * @FileName ICabinetTemplateCellService.java
 * @Copyright Copyright © 2024 云集互联. All Rights Reserved
 * Company		com
 * @CreateTime 2024-04-07 16:57:45
 * @Description 货柜模板格子接口
 * @Modification Author                    History Time			Version				Description
 * --------------------------------------------------------------------------------
 * HuaAo				2024-04-07 16:57:45		1.0					1.0 Version
 * @since JDK 1.8.0_202
 */
public interface ICabinetTemplateCellService {

    /**
     * @param cell 模板格子信息
     * @Title create
     * @Desc 创建模板格子信息
     * @Date 2024-09-02 19:53:02.152
     * @Return boolean 创建结果
     */
    boolean create(CabinetTemplateCellDO cell);

    /**
     * @param ids 模板ID数组
     * @Title delete
     * @Desc 删除模板格子信息
     * @Date 2024-09-02 19:53:33.379
     * @Return boolean 删除结果
     */
    boolean deleteByTemplateIds(Long... ids);

    // 滞空模板格子
    boolean resetCell(TemplateCellResetBO cell);

    List<CabinetTemplateCellDO> searchTemplateCells(CabinetCellListQueryBO param);
}
